import { combineReducers } from 'redux'
// 合并所有的reducer

import counter from './counter'
import todos from './todos'

const rootReducer = combineReducers({
  count: counter,
  todos: todos
})

export default rootReducer